package com.haikesi.api.syslog.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
@ApiModel(description = "日志信息")
@Data
@EqualsAndHashCode(callSuper = false)
public class SysLogVO{
    /**
     * 日志ID
     */
    @ApiModelProperty(value = "id", hidden = false)
    private String id;

    /**
     * 操作类型
     */
    @ApiModelProperty(value = "操作类型", hidden = false)
    private String logType;

    /**
     * 操作内容
     */
    @ApiModelProperty(value = "操作内容", hidden = false)
    private String logComment;

    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人", hidden = false)
    private String controlName;


    @ApiModelProperty(value = "创建时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
}